@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="classRoomForm">

            <div class="row">
                <input type="hidden" value="${building.id}" id="buildingId" >
                <input type="hidden" value="${building.orgId}" id="orgId" >
                <div class="col-sm-12 b-r">
                            <#input id="name" name="教室名称" span="true" />
                             <#input id="buildingName" name="所属教学楼" value="${building.name}" disabled="disabled"/>
                            <#input id="galleryful" name="容纳人数" underline="true" span="true"/>
                    <#select id="classroomTypeId" name="教室类型" underline="true">
                    @for(classTypeMeta in classTypes){
                    <option value="${classTypeMeta.value}">${classTypeMeta.name}</option>
                    @}
                </#select>
                <div class="unit" >
                    <label>教室位置：</label>
                    <input id="floor" id="floor" type="text" maxlength="3" style="width:60px;margin-left: 13px;" size="30" oninput="value=value.replace(/[^\d]/g,'')"
                           placeholder="录入数字" ><label style="width: 50px">层</label>
                    <input id="serialNo" type="text" style="width:60px;" size="30" maxlength="10"/><label>号</label>
                </div>

                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10" style="text-align: center">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="PtSchoolClassroomInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="PtSchoolClassroomInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/system/ptSchoolClassroom/ptSchoolClassroom_info.js"></script>
<style>
    .unit {
        display: block;
        padding: 5px 0;
        position: relative;
        clear: both;
        margin-left: 102px;
    }
</style>
@}
